﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KalevaAalto.DataPart.Excel.Base
{
    /// <summary>
    /// 打印纸尺寸
    /// </summary>
    public class BasePrinterSize
    {
        /// <summary>
        /// 宽度（毫米）
        /// </summary>
        public virtual double Width { get; set; } = 210D;

        /// <summary>
        /// 高度（毫米）
        /// </summary>
        public virtual double Height { get; set; } = 297D;



        public void Prase(BasePrinterSize printerSize)
        {
            Width = printerSize.Width;
            Height = printerSize.Height;
        }

    }
}
